package com.tech.pattern.factory.factoryfunc;

//具体角色
public class AppleFactory implements FruitFactory {
	//具体实例对象,生产苹果实例
	@Override
	public Fruit getFruit() {
		return new Apple();
	}
}
